﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
    <script type="text/javascript" src="ckfinder/ckfinder.js"></script>

</head>
<body>

<script type="text/javascript">
    function BrowseServer(inputId) {
//        var finder = new CKFinder();
//        finder.BasePath = 'ckfinder/';
//        finder.SelectFunction = SetFileField;
//        finder.SelectFunctionData = inputId;
        CKFinder.popup();
    }
    function SetFileField(fileUrl, data) {
        document.getElementById(data["selectFunctionData"]).value = fileUrl;
    }
</script>
<input type="text" name="file" id="file" onclick="BrowseServer('file');" />

</body>
</html>
